IHipRendererImpl

Minimal interface for another API implementation

Members

Functions

begin
void begin()
Undocumented in source.
clear
void clear()
Undocumented in source.
clear
void clear(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
createFrameBuffer
IHipFrameBuffer createFrameBuffer(int width, int height)
Undocumented in source.
createIndexBuffer
IHipIndexBufferImpl createIndexBuffer(index_t count, HipBufferUsage usage)
Undocumented in source.
createShader
Shader createShader()
Undocumented in source.
createShaderVar
ShaderVar* createShaderVar(ShaderTypes shaderType, UniformType uniformType, string varName, size_t length)
Undocumented in source.
createTexture
IHipTexture createTexture()
Undocumented in source.
createVertexArray
IHipVertexArrayImpl createVertexArray()
Undocumented in source.
createVertexBuffer
IHipVertexBufferImpl createVertexBuffer(size_t size, HipBufferUsage usage)
Undocumented in source.
dispose
void dispose()
Undocumented in source.
drawIndexed
void drawIndexed(index_t count, uint offset)
Undocumented in source.
drawVertices
void drawVertices(index_t count, uint offset)
Undocumented in source.
end
void end()
Undocumented in source.
hasErrorOccurred
bool hasErrorOccurred(string err, string line, size_t line)
Undocumented in source.
init
bool init(HipWindow window)
Undocumented in source.
initExternal
bool initExternal()
Undocumented in source.
isRowMajor
bool isRowMajor()
Undocumented in source.
queryMaxSupportedPixelShaderTextures
int queryMaxSupportedPixelShaderTextures()
Undocumented in source.
setColor
void setColor(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
setColorMask
void setColorMask(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source.
setDepthTestingEnabled
void setDepthTestingEnabled(bool )
Undocumented in source.
setDepthTestingFunction
void setDepthTestingFunction(HipDepthTestingFunction )
Undocumented in source.
setErrorCheckingEnabled
void setErrorCheckingEnabled(bool enable)
Undocumented in source.
setRendererMode
void setRendererMode(HipRendererMode mode)
Undocumented in source.
setStencilOperation
void setStencilOperation(HipStencilOperation stencilFail, HipStencilOperation depthFail, HipStencilOperation stencilAndDephPass)
Undocumented in source.
setStencilTestingEnabled
void setStencilTestingEnabled(bool )
Undocumented in source.
setStencilTestingFunction
void setStencilTestingFunction(HipStencilTestingFunction passFunc, uint reference, uint mask)

When pass func evaluates to true, then it is said to be passed

setStencilTestingMask
void setStencilTestingMask(uint mask)
Undocumented in source.
setViewport
void setViewport(Viewport v)
Undocumented in source.
setWindowMode
bool setWindowMode(HipWindowMode mode)
Undocumented in source.

Meta